#include "memory.h"

static struct map_struct mem_map[PAGING_PAGES] = {0,};

void mem_init(unsigned int min_size, unsigned int max_size)
{
    unsigned int i, start_index, end_index;

    start_index = (min_size >> 2) - 1;
    end_index = (max_size >> 2) - 1;
    for (i=start_index; i<=end_index; i++)
    {
        mem_map[i].enable = 1;
    }
}

